package com.chen.blog.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @Description 消息
 * @Author zgyh2
 * @Date 2022/1/28
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ChatDto {

    private String from;
    private String to;
    private String content;
    private LocalDateTime date;
    private String fromNickName;
}
